﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Compiler;

namespace GrammarTest
{
    class GrammarCreator
    {
        public Grammar get_1()
        {
            //var S = new Nonterminal("S");
            //var E = new Nonterminal("E");
            //var B = new Nonterminal("B");
            //var zero = new Terminal(0, "0");
            //var one = new Terminal(1, "1");
            //var add = new Terminal(2, "+");
            //var mul = new Terminal(3, "*");

            //var P0 = new Production(0, null, S, E);
            //var P1 = new Production(1, null, E, E, mul, B);
            //var P2 = new Production(2, null, E, E, add, B);
            //var P3 = new Production(3, null, E, B);
            //var P4 = new Production(4, null, B, zero);
            //var P5 = new Production(5, null, B, one);

            //Grammar grammar = new Grammar(S, P0, P1, P2, P3, P4, P5);

            //return grammar;
            return null;
        }
    }
}
